package com.ruoyi.his.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 医师人员信息对象 ods_doctor_data
 * 
 * @author Alan
 * @date 2024-03-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OdsDoctorData
{
    private static final long serialVersionUID = 1L;

    /** 主健id */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hospitalId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String idCard;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String qualification;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorLicence;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String technicalTitle;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long antibiosisAuthority;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String mobile;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long anestheticAuthority;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String registerNumber;

    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String password;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE,select = false)
    private Date updateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHospitalId(String hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public String getHospitalId() 
    {
        return hospitalId;
    }

    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setQualification(String qualification) 
    {
        this.qualification = qualification;
    }

    public String getQualification() 
    {
        return qualification;
    }
    public void setDoctorLicence(String doctorLicence) 
    {
        this.doctorLicence = doctorLicence;
    }

    public String getDoctorLicence() 
    {
        return doctorLicence;
    }
    public void setTechnicalTitle(String technicalTitle) 
    {
        this.technicalTitle = technicalTitle;
    }

    public String getTechnicalTitle() 
    {
        return technicalTitle;
    }
    public void setAntibiosisAuthority(Long antibiosisAuthority) 
    {
        this.antibiosisAuthority = antibiosisAuthority;
    }

    public Long getAntibiosisAuthority() 
    {
        return antibiosisAuthority;
    }
    public void setAnestheticAuthority(Long anestheticAuthority) 
    {
        this.anestheticAuthority = anestheticAuthority;
    }

    public Long getAnestheticAuthority() 
    {
        return anestheticAuthority;
    }
    public void setRegisterNumber(String registerNumber) 
    {
        this.registerNumber = registerNumber;
    }

    public String getRegisterNumber() 
    {
        return registerNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hospitalId", getHospitalId())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("qualification", getQualification())
            .append("doctorLicence", getDoctorLicence())
            .append("technicalTitle", getTechnicalTitle())
            .append("antibiosisAuthority", getAntibiosisAuthority())
            .append("anestheticAuthority", getAnestheticAuthority())
            .append("registerNumber", getRegisterNumber())
            .toString();
    }
}
